import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import 'colors.dart';

final double kSize1 = 1.w;
final double kSize2 = 2.w;
final double kSize4 = 4.w;
final double kSize6 = 6.w;
final double kSize8 = 8.w;
final double kSize10 = 10.w;
final double kSize12 = 12.w;
final double kSize14 = 14.w;
final double kSize15 = 15.w;
final double kSize16 = 16.w;
final double kSize18 = 18.w;
final double kSize20 = 20.w;
final double kSize22 = 22.w;
final double kSize24 = 24.w;
final double kSize25 = 25.w;
final double kSize26 = 26.w;
final double kSize28 = 28.w;
final double kSize30 = 30.w;
final double kSize32 = 32.w;
final double kSize34 = 34.w;
final double kSize36 = 36.w;
final double kSize38 = 38.w;
final double kSize40 = 40.w;
final double kSize42 = 42.w;
final double kSize44 = 44.w;
final double kSize46 = 46.w;
final double kSize48 = 48.w;
final double kSize50 = 50.w;
final double kSize52 = 52.w;
final double kSize54 = 54.w;
final double kSize56 = 56.w;
final double kSize58 = 58.w;
final double kSize60 = 60.w;
final double kSize62 = 62.w;
final double kSize70 = 70.w;
final double kSize80 = 80.w;
final double kSize90 = 90.w;
final double kSize92 = 92.w;
final double kSize100 = 100.w;
final double kSize116 = 116.w;
final double kSize120 = 120.w;
final double kSize130 = 130.w;
final double kSize140 = 140.w;
final double kSize160 = 160.w;
final double kSize180 = 180.w;
final double kSize200 = 200.w;
final double kSize220 = 220.w;
final double kSize250 = 250.w;
final double kSize260 = 260.w;
final double kSize280 = 280.w;
final double kSize300 = 300.w;
final double kSize320 = 320.w;
final double kSize350 = 350.w;
final double kSize360 = 360.w;
final double kSize380 = 380.w;
final double kSize390 = 390.w;
final double kSize400 = 400.w;
final double kSize450 = 450.w;
final double kSize480 = 480.w;
final double kSize500 = 500.w;
final double kSize560 = 560.w;
final double kSize600 = 600.w;
final double kSize700 = 700.w;
final double kSize750 = 750.w;
final double kSize800 = 800.w;
final double kSize860 = 860.w;
final double kSize900 = 900.w;
final double kSize1000 = 1000.w;
final double kSize1120 = 1120.w;

final double kFontSize20 = 20.sp;
final double kFontSize22 = 22.sp;
final double kFontSize24 = 24.sp;
final double kFontSize26 = 26.sp;
final double kFontSize28 = 28.sp;
final double kFontSize30 = 30.sp;
final double kFontSize32 = 32.sp;
final double kFontSize34 = 34.sp;
final double kFontSize36 = 36.sp;
final double kFontSize38 = 38.sp;
final double kFontSize42 = 42.sp;
final double kFontSize46 = 46.sp;

EdgeInsets kCommonMarin =
    EdgeInsets.symmetric(horizontal: kSize20).copyWith(top: kSize20);

BoxShadow kBoxShadow = BoxShadow(
    color: kColorE2,
    offset: Offset(0.0, 0.0), //阴影xy轴偏移量
    blurRadius: kSize1, //阴影模糊程度
    spreadRadius: kSize1 //阴影扩散程度
    );

BoxDecoration kCommonBoxDecoration = BoxDecoration(
    color: Colors.white,
    boxShadow: [kBoxShadow],
    borderRadius: BorderRadius.all(Radius.circular(kSize8)));
